﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaMaestra.Master" AutoEventWireup="true" CodeBehind="Salas.aspx.cs" Inherits="ProyectoCine.AreaPrivada.Salas"  %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">
    <asp:Panel ID="Panel1" runat="server" ForeColor="Red" GroupingText="Salas" 
        Height="444px" Font-Bold="True">        
                <asp:Label ID="Label4" runat="server" Text="Nombre" ForeColor="Red" 
            Font-Bold="True"></asp:Label>            
                &nbsp<asp:TextBox ID="txtBuscar" runat="server"></asp:TextBox>
            
                &nbsp<asp:Button ID="idBuscar" runat="server" Text="Buscar" 
            onclick="idBuscar_Click" />                  
            
            <asp:GridView ID="gvSalas" runat="server" AutoGenerateColumns="False" 
            onselectedindexchanged="gvSalas_SelectedIndexChanged" AllowPaging="True" 
            onpageindexchanging="gvSalas_PageIndexChanging" AllowSorting="True" 
            BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" 
            CellPadding="3" CellSpacing="2" onsorting="gvSalas_Sorting">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="nombre" HeaderText="Nombre" 
                    SortExpression="nombre" />
                <asp:BoundField DataField="tipoSala" HeaderText="Tipo de Sala" 
                    SortExpression="tipoSala" />
            </Columns>
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FFF1D4" />
            <SortedAscendingHeaderStyle BackColor="#B95C30" />
            <SortedDescendingCellStyle BackColor="#F1E5CE" />
            <SortedDescendingHeaderStyle BackColor="#93451F" />
        </asp:GridView>             
                
        <br />
        
        <br />
        <br />
    </asp:Panel>
</asp:Content>
